check session in blade laravel

35

session has laravel blade -

@if(Session::has('error'))
<div class="alert alert-danger">
  {{ Session::get('error')}}
</div>
@endif

Comments

Submit
0 Comments